package com.dronff.gvm.memorymanager;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

/**
 * @author: tyf
 * @date: 2022/9/9 10:03
 * @description: todo(
 */
@Data
@Accessors(chain = true)
@Deprecated
public abstract class MiniMemory {
    private Memory parentMemory;
    private int startIndex;
    private int endIndex;
    private int currentIndex;
    public MiniMemory(int startIndex,int endIndex,Memory parentMemory){
        this.startIndex = startIndex;
        this.endIndex = endIndex;
        this.parentMemory = parentMemory;
        this.currentIndex = 0;
    }
}
